#ifndef _SOCKET_H
#define _SOCKET_H

#pragma once
#include <string>

using namespace std;

namespace net
{
/*
 * This is an interface to define the basic behaviour of a socket.
 * Implementation specific code must be placed in classes implementing
 * this interface.
 */
class Socket
{
public:
	Socket(void);
	virtual ~Socket(void);
	virtual void doClose(void)=0;
	virtual string toString(void)=0;
};
};
#endif
